home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 006 / javlrn2.arc / PROBSOLV.CAS (.txt) < prev    next >
Encoding:
Javelin Case Study  |  1985-10-01  |  37.5 KB  |  942 lines

  1. PROBSOLVA
  2. ~0Copyright (c) 1985 Javelin Software Corporation.
  3. S/N   0412345679
  4. Press [F1] for Help.
  5. Version E4.69
  6. Diagram view
  7. Table view
  8. READY
  9. &SOLVING A PROBLEM WITH JAVELIN
  10.  $}*$This case study suggests some of the steps
  11.  you might take to solve a problem with Javelin.  
  12. $- Press [Space] to continue -
  13. $- or press [F1] for Help -
  14.  228K
  15. %EXAMPLE}
  16. $: JDB Industries
  17. ~-As Chief Financial Officer of JDB Industries,
  18. ~)  you must decide whether to invest in an
  19. ~.addition to your factory in Jupiter, Virginia.
  20. ~)You need to determine if an investment in
  21. ~"1986 will return a profit by 1992.
  22. }/$Once you have the information together, you can
  23. begin to solve the problem.
  24. ~-When you start Javelin, the screen looks like
  25. ~.this. The program is empty -- ready for you to
  26. build a model.
  27. &The Model Settings She
  28. ~/You can start by using the Model settings sheet
  29. ~.to enter the settings that are appropriate for
  30. ~* problem. To see the Model settings sheet,
  31. ~&use the Define Settings command. Type:
  32. & $/' $D' $S'
  33.  DEFINE }
  34.   CLEAR
  35. WINDOW   PRINT
  36. MENU 
  37. ~MDefine variable, building block, worksheet, graph, macro, time pd., settings.
  38.  Settings
  39.  Configuration  
  40.  Printer
  41.  Time period
  42.  Macro ...
  43.  Graph
  44.  Worksheet
  45.  Building block 
  46.  Variable
  47.  DEFINE
  48. ~@Create a variable or change its name, period, or other settings.
  49. ~KChange model default settings, including dates, default period, and format.
  50.  FY1985 ends {31 Decemb
  51.  Year
  52.  Quarter
  53.  Month
  54.  Week
  55.  Constant
  56.  Dollar ($)
  57. "Default Period
  58.  Commas
  59.  Percent
  60.  End date {September 1986}
  61.  Fixed decimal
  62.  Begin date {October 1985}
  63.  Automatic
  64. "Default Time Span
  65. "Format
  66.  Name {}
  67.  Decimal places {}
  68. "Model Settings
  69. ~7To save settings and leave settings sheet, press [Esc].
  70. ~/This is the Model settings sheet. Since most of
  71. the variabl} $es in this model will be yearly,
  72. ~,begin by changing the period to Year. Press:
  73. '[PgDn]
  74. '[PgDn]
  75. Press 
  76.  to select Year:
  77. 1985}
  78. 1986}
  79. Look at
  80. ~#setting for Year. When you selected
  81. ~,Year as the default period, the triangle (
  82. moved to point to Year.
  83. }-$The settings above the default period are for
  84. ~,the time span of the model. The default time
  85. ~+span should represent the beginning and end
  86. ~&dates for most variables in the model.
  87. ~/The time span for this model is 1986 - 1992. To
  88. ~.enter the time span, first set the begin date:
  89. '[PgUp]
  90. '1986
  91. Begin date:
  92. ~7To save settings and leave settings sheet, press [Esc].
  93. Then enter the end date:
  94. '1992
  95. ~    End date:
  96. ~7To save settings and leave settings sheet, press [Esc].
  97. Most variables in
  98. problem are in dollars. 
  99. ~.To change the default format, move the cursor 
  100. to Dollar:
  101. Then select it:
  102. ~+Finally, set the number of decimals to 0 to
  103. ~-show all numbers with 0 decimal places. Type:
  104. '[PgUp]
  105.  $0' $}
  106. Decimal places:
  107. ~7To save settings and leave settings sheet, press [Esc].
  108. ~/Now that you have defined the settings for this
  109. ~-model, leave the Model settings sheet. Press:
  110. '[Esc]
  111. Diagram view
  112. Diagram view
  113. READY
  114. &Entering Formulas
  115.  The next step is to enter formulas and
  116.  data for the variables in the problem. The
  117.  variables are:
  118.  Sales
  119.  Initial investment
  120.  Operating costs
  121.  Cash flow
  122.  Total costs
  123. Let's start}
  124. $ with the Diagram view and the
  125. ~#Formulas view on the screen. In the
  126. ~*Formulas view, you can see all formulas in
  127. the model at once.
  128. ~*To view all formulas in the bottom window,
  129. type:
  130. & $/' $V' $F' $A'
  131.  DEFINE }
  132.   CLEAR
  133. WINDOW   PRINT
  134. MENU 
  135. ~MDefine variable, building block, worksheet, graph, macro, time pd., settings.
  136.  Graph
  137.  Macro
  138.  Errors
  139.  Notes
  140.  Worksheet
  141.  Quick graph
  142.  Chart
  143.  Table
  144.  Formulas ...   
  145.  Diagram
  146.  VIEW
  147. Show diagram in current window.
  148.  Branches
  149.  Roots
  150.  Formulas ...
  151. Show all formulas.
  152. ~    Worksheet
  153. Quick graph
  154. Chart
  155. Table
  156. Formulas ...
  157. Diagram
  158. READY
  159.     Formulas for all variables:
  160. ~*Now move the cursor to the Diagram view in
  161. ~+the top window. This enables you to see the
  162. ~*diagram of each formula as you type it in.
  163. ~(Press [F6] to move the cursor to the top
  164. window:
  165. '[F6]
  166. ~*Begin by entering the formula that defines
  167. the variabl
  168. e$ $}    %Cash flow~
  169. ~'Watch the top line of the screen as you
  170. type this formula:
  171. 'Cash flow=Sales-Total costs-Tax
  172. Enter the formula by pressing:
  173. Total costs
  174.  Cash flow
  175. Sales
  176. Cash flow=Sales-Total costs-Tax
  177. Total costs = 
  178.  UNDEFINED 
  179. Tax = 
  180.  UNDEFINED 
  181. Sales = 
  182.  UNDEFINED 
  183. Cash flow=Sales-Total costs-Tax
  184. When you ente}
  185. $r the formula, the top window
  186. ~*shows you the formula in the Diagram view.
  187. ~(The bottom window shows all the formulas
  188. ~*in the model so far. In the Formulas view,
  189. }($you can see that Sales, Total costs, and
  190. Tax are undefined.
  191. ~ Next we'll enter the formula for
  192.  $T%a%x%~
  193. ~*Again, watch the top line of the screen as
  194. ~'you type the formula for Tax. We'll use
  195. ~'the SPELL key to help type the formula.
  196. Begin typing the formula:
  197. & $}    'tax=.46*(
  198. ~+Use the SPELL key to help type Sales. Type:
  199. & $s'a'l' $}
  200. WAIT 
  201. Sales
  202. READY
  203. ~'Javelin spells Sales for you on the top
  204. ~&line of the screen. Continue, using th
  205. SPELL key again. Type:
  206. '-tot
  207. WAIT 
  208. Total costs
  209. READY
  210. ~#Javelin spells Total costs for you.
  211. ~)Complete and enter the formula by typing:
  212. & $)' $}
  213. Total costs
  214.  Tax 
  215. ~    Cash flow
  216. Sales
  217.   Tax=0.46*(Sales-Total costs) 
  218. WAIT 
  219. =0.46*(Sales-Total costs)
  220. READY
  221. ~(After you enter the formula, the Diagram
  222. ~*view in the top window changes to show you
  223. ~(the new formula. The new formula appears
  224. })$in the Formulas view in the bottom window
  225. as well.
  226. ~&The last formula for this model is the
  227. formula for
  228. %Total costs~
  229. . Press [Space]
  230. }$$and I'll enter this formula for you.
  231. Initial investment
  232.  Total costs 
  233. Operating costs
  234. ~    Cash flow
  235. ~FTotal costs=Operating costs + Initial investment@1986; Operating costs
  236. WAIT 
  237. ~!Total costs=Operating costs + Ini
  238. Tax=0.46*(Sales-Total costs)
  239. Sales = 
  240.  UNDEFINED 
  241. Operating costs = 
  242.  UNDEFINED 
  243. ~ Initial investment = 
  244.  UNDEFINED
  245. READY
  246. &Entering Data
  247. ~*When you defined Total costs, you created 
  248. ~)wo more variables, Initial investment and
  249. Operating costs.
  250. ~*As you can see in the Formulas view, these
  251. ~(new variables and the variable Sales are
  252. still undefi}
  253. $ned. Before you can calculate
  254. ~)results for this model, you need to enter
  255. data for these variables.
  256. Start by ente}
  257. $ring data for
  258. %Operating Costs
  259. in the Table view. Type:
  260.      $ $
  261. & $/' $V' $T'
  262.   DEFINE   CLEAR
  263. VIEW 
  264. WINDOW   PRINT
  265. MENU 
  266. Select view for current window.
  267.  Graph
  268.  Macro
  269.  Errors
  270.  Notes
  271.  Worksheet
  272.  Quick graph
  273.  Chart
  274.  Table
  275.  Formulas ...
  276.  Diagram
  277.  VIEW
  278. ~&Show all formulas, roots, or branches.
  279. ~#   Show table of data for variable.
  280. nt = 
  281.  UNDEFINED 
  282. Total costs-Tax
  283.      variables:
  284. =Operating costs +
  285. Variable name (Total costs):
  286. ~*Javelin prompts you on the top line of the
  287. ~'screen for the name of the variable you
  288. ~%want to see. Press the SPELL key to s
  289. the list of existing variables:
  290. WAIT 
  291.  Total costs
  292.  Sales
  293.  Operating costs
  294.  Initial investment 
  295.  Cash flow
  296.  POSSIBILITIES
  297. READY
  298. ~$Select Operating costs by moving the
  299. ~)cursor to that variable and pressing 
  300. WAIT 
  301. costs + Initial invest
  302. Total costs}
  303. Operating costs
  304. MENU 
  305. READY
  306. 1994 
  307.   2003 
  308. 1993 
  309.   2002 
  310. 1992 
  311.   2001 
  312.   2010 
  313. 1991 
  314.   2000 
  315.   2009 
  316. 1990 
  317.   1999 
  318.   2008 
  319. 1989 
  320.   1998 
  321.   2007 
  322. 1988 
  323.   1997 
  324.   2006 
  325. 1987 
  326.   1996 
  327.   2005 
  328. 1986 
  329.   1995 
  330.   2004 
  331. Operating costs = 
  332.  UNDEFINED 
  333. ~&The top window changes to show you the
  334. ~&table for Operating costs. Now you can
  335. ~#enter the data for Operating costs.
  336. } $Costs are 200,000 in 1986. Type:
  337. ~.Operating costs = 
  338.  Yearly data: 1986 - 1986 
  339. ~    ... $200,
  340. WAIT 
  341. Yearly data:
  342. READY
  343. Costs are 60,000 in 1987. Type:
  344.  $60,
  345. WAIT 
  346. READY
  347. ~'If you press 
  348.  in the Table view, you
  349. repeat the previous amount.
  350. ~$Press 
  351.  to repeat the value of 60,
  352. ~    for 1988:
  353.  $60,
  354. WAIT 
  355. READY
  356. ~*Press [Space] and I'll enter the operating
  357. costs for 1989 - 1992.
  358.  $75,
  359. WAIT 
  360. READY
  361.  $95,
  362. WAIT 
  363. READY
  364.  $95,
  365. WAIT 
  366. READY
  367. ~    ... $125,
  368. WAIT 
  369. READY
  370. ~)You used the Table view to enter data for
  371. Operating costs.
  372. ~(Now use the Chart view to enter data for
  373. %Sales~!. To select the Chart view, type:
  374. /' $V' $C'
  375.   DEFINE   CLEAR
  376. VIEW 
  377. WINDOW   PRINT
  378. MENU 
  379. Select view for current window.
  380.  Graph
  381.  Macro
  382.  Errors
  383.  Notes
  384.  Worksheet
  385.  Quick graph
  386.  Chart
  387.  Table
  388.  Formulas ...   
  389.  Diagram
  390.  VIEW
  391. Show table of data for variable
  392. ~$Show bar chart of data for variable.
  393. nt = 
  394.  UNDEFINED 
  395. Total costs-Tax
  396.      variables:
  397.   2003 
  398.   2002 
  399. 125,000
  400.   2001 .
  401. $95,000
  402.   2000 .
  403. $95,000
  404.   1999 .
  405. $75,000
  406.   1998 .
  407. $60,000
  408.   1997 .
  409. $60,000
  410.   1996 .
  411. 200,000
  412.   1995 .
  413. Operating costs = 
  414.  Yearly data: 1986 - 1992 
  415. ~ Variable name (Operating costs):
  416. Specify Sales by typing:
  417. 'sales
  418. READY
  419. 86 87 88 89 90 91 92 9
  420. 105  
  421. Sales = 
  422.  UNDEFINED 
  423. ~&The top window changes to show you the
  424. chart for Sales.
  425. }#$Start by entering 100,000 for 1986.
  426. Type:
  427. 15000  
  428. 45000  
  429. 75000  
  430. ~$Sales = 
  431.  Yearly data: 1986 - 1986 
  432. WAIT 
  433. Yearly data: 1986 - 198
  434. READY
  435. ~%The Chart view shows a bar chart that
  436. ~'represents the value of Sales for 1986.
  437. ~#Now enter a value for 1987. Press 
  438. to move to 1987:
  439. WAIT 
  440. READY
  441. ~!Enter 250,000 for 1987 by typing:
  442. ~#graph now shows the value for 1987.
  443. ~$Use the cursor keys to draw bars for
  444. values through 1992.
  445. Sales increase in 1988. Press:
  446. '[PgUp]
  447. WAIT 
  448. READY
  449. ~ Sales are steady in 1989. Press:
  450. WAIT 
  451. READY
  452. Sales drop in 1990. Press:
  453. '[PgDn]
  454. WAIT 
  455. READY
  456. ~$Sales decrease again in 1991. Press:
  457. '[PgDn]
  458. '[PgDn]
  459. WAIT 
  460. READY
  461. ~&Sales continue to drop in 1992. Press:
  462. '[PgDn]
  463. WAIT 
  464. READY
  465. ~$Now that you've entered the data for
  466. ~&Sales, only one variable is undefined.
  467. }&$The Formulas view in the bottom window
  468. ~'shows that the only remaining undefined
  469. variable is }
  470. %Initial investment~
  471. }($This variable should have a single value
  472. ~*of $500,000. Instead of using the Table or
  473. ~(Chart view, you can enter the value of a
  474. constant with a formula.
  475. ~'Watch the top line of the screen as you
  476. ~(type the formula for Initial investment.
  477. ~$Use the SPELL key to help you. Type:
  478. & $i'n'i' $}
  479. WAIT 
  480. Initial investment
  481. READY
  482. Finish the formula. Type:
  483. WAIT 
  484. READY
  485. Initial investment=5
  486. WAIT 
  487. READY
  488. ~&The Chart view changes to show Initial
  489. ~#investment with a constant value of
  490. 500,000.
  491. }'$Look at the Formulas view in the bottom
  492. ~)window. All of the variables in the model
  493. are now defined.
  494. }"$Now it's time to get some answers.
  495. &Calculating the Model
  496. ~(If you try to view one of the calculated
  497. ~(variables at this point, you'll see that
  498. ~'it is not yet calculated. For example, 
  499. look at the Table view for Tax.
  500. ~ To show the table for Tax, type:
  501. & $/' $V' $T' $t'a'x' $}
  502.   DEFINE   CLEAR
  503. VIEW 
  504. WINDOW   PRINT
  505. MENU 
  506. Select view for current window.
  507.  Graph
  508.  Macro
  509.  Errors
  510.  Notes
  511.  Worksheet
  512.  Quick graph
  513.  Chart
  514.  Table
  515.  Formulas ...   
  516.  Diagram
  517.  VIEW
  518. ~$Show bar chart of data for variable.
  519. ~"  Show table of data for variable.
  520. Total costs-Tax
  521.      variables:
  522. Initial investment=5
  523. ~#Variable name (Initial investment):
  524. READY
  525. NOT YET CALCULATED
  526. Tax=0.46*(Sales-Total costs)
  527. ~*The table for Tax shows that this variable
  528. i$s$ $}
  529. %NOT YET CALCULATED}
  530. ~'n the lower right corner of the screen 
  531. ~*you see the CALC indicator. This means you
  532. ~&have to press the CALC key, [F9], to s
  533. ~#the values of calculated variables.
  534. Press the CALC key:
  535. '[F9]
  536. WAIT 
  537. 1994 
  538.   2003
  539. 1993 
  540.   2002
  541. 1992 
  542. ~     ($1,380)
  543.   2001 
  544.   2010 
  545. 1991 
  546.  $31,280
  547.   2000 
  548.   2009 
  549. 1990 
  550.  $69,000
  551.   1999 
  552.   2008 
  553. 1989 
  554.  $97,060
  555.   1998 
  556.   2007 
  557. 1988 
  558. ~     $103,960
  559.   1997 
  560.   2006 
  561. 1987 
  562.  $87,400
  563.   1996 
  564.   2005 
  565. 1986 
  566.  ($276,000)
  567.   1995 
  568.   2004 
  569. READY
  570. ~'When you pressed the CALC key, Javelin:
  571.  Calculated values for all the
  572.   variables in the model.
  573.  Showed the values for Tax in the top
  574. ~(  window. (The values in parentheses are
  575. negative values.)
  576.  Removed the CALC indicator from the
  577. $bottom line of the screen.
  578. &The Worksheet View
  579. ~*While you could look at the Table view for
  580. ~(each variable, it's much easier to see a
  581. ~#the results at once on a worksheet.
  582. Let's put a worksheet
  583. the top window. To
  584. ~*create a worksheet, use the View Worksheet
  585. command. Type:
  586. & $/' $V' $W'
  587.   DEFINE   CLEAR
  588. VIEW 
  589. WINDOW   PRINT
  590. MENU 
  591. Select view for current window.
  592.  Graph
  593.  Macro
  594.  Errors
  595.  Notes
  596.  Worksheet
  597.  Quick graph
  598.  Chart
  599.  Table
  600.  Formulas ...   
  601.  Diagram
  602.  VIEW
  603. Show table of data for variable
  604. ~#Show a worksheet in current window.
  605. Total costs-Tax
  606.      variables:
  607.   2003 
  608.   2002 
  609. ($1,380) 
  610.   2001 .
  611. $31,280
  612.   2000 .
  613. $69,000
  614.   1999 .
  615. $97,060
  616.   1998 .
  617. 103,960
  618.   1997 .
  619. $87,400
  620.   1996 .
  621. 276,000)
  622.   1995 .
  623. Tax=0.46*(Sales-Total costs)
  624. Worksheet name:
  625. Give the wo}
  626. $rksheet a name. Type:
  627. 'Results
  628. READY
  629. Results
  630. ~&Next, set up the worksheet to show the
  631. ~(results. Start by putting the dates 1986
  632. ~#through 1992 across the top border.
  633. ~)First, press 
  634.  to move to the top border:
  635.  Use the Border Dates command to fill in dates in the
  636.  top border. (This command is one of
  637. * commands
  638.  that are only available in the Worksheet view.)
  639.  To use the Border Dates command, type:
  640.  $ $ $
  641. & $/' $*' $B' $D'
  642.   DEFINE   CLEAR
  643. VIEW 
  644. WINDOW   PRINT
  645. *WORKSHEET
  646. MENU 
  647. Select view for current window.
  648.  Format
  649.  Sort ...
  650.  Exception
  651.  Name change
  652.  Import file .. 
  653.  Range ...
  654.  Border ...
  655.  Data copy
  656.  Copy
  657.  *WORKSHEET
  658. Copy contents of cells.
  659.  Shrink border   
  660.  Expand border   
  661.  Remove border   
  662.  Insert border   
  663.  Variable names  
  664.  Dates
  665.  Border ...
  666. Enter dates in current border.
  667.                ~
  668.  Format
  669.  Sort ...
  670.  Exception
  671.  Name change
  672.  Import file 
  673.  Range ...
  674.  Border ...
  675.  Data copy
  676.  Copy
  677. Results
  678. READY
  679. Begin date (1986):
  680. ~2At the top line of the screen, Javelin prompts you
  681. ~/for a begin date. Press 
  682.  to choose the model
  683. default, 1986:
  684. End date (1992):
  685. ~0To select the default end date (1992), press 
  686. again:
  687. WAIT 
  688. READY
  689. WAIT 
  690. READY
  691. ~0The top border now shows the dates 1986 to 1992.
  692.  Finish setting up the worksheet by
  693.  putting the names of the variables in  
  694.  the left border. To move to the left   
  695. osts-Tax
  696.  border, type:
  697. rly data: 1986 ~
  698.  $ $ $
  699. 1986 - 1992 
  700. osts)
  701. osts + Initial ~
  702. ~#Enter the name of a variable. Type:
  703. & $T'a'x' $}
  704.    ($276,000)
  705. $87,400
  706. $103,960
  707. $97,060
  708. WAIT 
  709. READY
  710. Because
  711. values of Tax you entered
  712. earlier are part of the central
  713. ~%information base, these values appear
  714. ~#in the worksheet automatically when
  715. }%$you enter the name Tax in the border.
  716. ~$When you press [Space], I'll fill in
  717. ~%the rest of the variable names so you
  718. $can see the remaining values.
  719. WAIT 
  720. ~    tal costs
  721. READY
  722. Total costs
  723. $700,000
  724. $60,000
  725. $60,000
  726. $75,000
  727. WAIT 
  728. READY
  729. WAIT 
  730. READY
  731. Sales
  732. $100,000
  733. $250,000
  734. $286,000
  735. $286,000
  736. $245,
  737. WAIT 
  738. READY
  739. WAIT 
  740. READY
  741. ~    Cash flow
  742.    ($324,000)
  743. $102,600
  744. $122,040
  745. $113,940
  746. WAIT 
  747. READY
  748. ~    Cash flow
  749. ~"Look at the calculated results for
  750. ~#Cash flow on the bottom line of the
  751. ~#worksheet. The cash flow starts out
  752. negative in 1986, and is then
  753. positive between 1987 and 1990.
  754. ~%To see the values for the later years
  755. ~%of the investment, look at the end of
  756. worksheet. Press:
  757. '[End]
  758. ~)End: Press arrow key to select direction.
  759. WAIT 
  760. ~     $103,960
  761. $97,06
  762.  $69,00
  763. 31,28
  764. ($1,380)
  765. ~     $122,040
  766. $113,94
  767.  $81,00
  768.  $36,72
  769. ($1,620)
  770. READY
  771. ~    Cash flow
  772. : Sales-Total costs-Tax
  773. ~#You can see that cash flow remains 
  774. ~#positive through 1991, then becomes
  775. again by 1992.
  776. ~!Based on these figures, you might
  777. conclude that it would not be
  778. ~ profitable to continue using the
  779. factory addition after 1991.
  780. &Modifying the Model
  781. Overall, is the addition to the
  782. ~#factory a good investment? As often
  783. ~%happens, you have to modify the model
  784. to answer a specific question.
  785. ~ To determine whether or not the 
  786. is worth expanding, define a
  787. ~$variable that totals cumulative cash
  788. flow over time.
  789. When in}
  790. $ a worksheet, you can enter a
  791. ~%formula by typing it in the worksheet
  792. border.
  793. ~%Before entering the new formula, move
  794. ~$he cursor to the row below Cash flow
  795. in the left border. Type:
  796. '[End]
  797. ~)End: Press arrow key to select direction.
  798. WAIT 
  799. ($276,000)
  800. $87,40
  801. $103,96
  802. 97,06
  803. $69,000 
  804. ($324,000)
  805. $102,60
  806. $122,04
  807. $113,94
  808. $81,000 
  809. READY
  810. ~ Cash flow: Sales-Total costs-Tax
  811. Name the new variable }
  812. %Cumulative
  813. }    %cash flow~
  814. . You can use the CUM
  815. ~!function to accumulate Cash flow.
  816. ~"Enter this formula with the aid of
  817. the SPELL key. Type:
  818. 'Cumulative cash flow=cum
  819. c'a's' $}
  820. WAIT 
  821. CUM()
  822. READY
  823. Entering CUM(expression).
  824. WAIT 
  825. Cash flow)
  826. READY
  827. Cumulative c
  828. #CALC
  829. #CALC
  830. #CALC
  831. #CALC
  832. #CALC
  833. WAIT 
  834. ~%Total costs=Operating costs + Initial
  835. ax=0.46*(Sales-Total
  836. ~$Sales = 
  837.  Yearly data: 1986 - 1992 
  838. ~%Operating costs = 
  839.  Yearly data: 1986
  840. Initial investment=5
  841. ~#Cumulative cash flow=CUM(Cash flow)
  842. READY
  843. Cumulative cash flow
  844. To calculate the value}
  845. $s for Cumulative
  846. , press the CALC key:
  847. '[F9]
  848. WAIT 
  849. ($324,000)   ($221,400)
  850. +    ~    ($99,360)
  851. $14,580
  852. $95,580
  853. READY
  854. ~"The first positive cash flow is in
  855. ~!1989. This is when the investment
  856. breaks even.
  857. ~!see the values of Cumulative cash
  858. flow for the later years of the
  859. investment, type:
  860. '[End]
  861. ~)End: Press arrow key to select direction.
  862. WAIT 
  863. ~     $103,960
  864. $97,06
  865.  $69,00
  866. 31,28
  867. ($1,380)
  868. ~     $122,040
  869. $113,94
  870.  $81,00
  871.  $36,72
  872. ($1,620)
  873.  ($99,36
  874.     ~      $14,580
  875.  $95,580
  876. $132,30
  877. $130,6
  878. READY
  879. Cumulative cash flow
  880. : CUM(Cash flow)
  881. In 1992 Cumulative cash flow
  882. ~$decreases. Therefore, continuing the
  883. project after 1991 loses money.
  884. ~"Once you've built a model, you may
  885. want to save it for later use. 
  886. ~"In Javelin, you would follow these
  887. $steps to save a file.
  888. Use the File Save command:
  889.      $ $
  890. & $/' $F' $S'
  891.   DEFINE   CLEAR
  892. WINDOW   PRINT
  893.  *WORKSHEET 
  894. MENU 
  895. ~"Commands specific to current view.
  896.  Delete
  897.  Import ...
  898.  Save
  899.  Load
  900.  FILE
  901.    Load a model file from disk.
  902.  Save a model file to disk. 
  903. $95,580
  904. $81,000
  905.    $245,000
  906. $95,000
  907. $69,000
  908. -1990
  909. Results
  910. READY
  911. ~    Filename:
  912. Give the file a name:
  913. 'flow
  914. ~ Then press 
  915.  to save the file:
  916. WAIT 
  917. flow.mdl
  918. READY
  919. flow.mdl
  920. saved.
  921. &Summary
  922.  In this case study, you followed these steps to
  923.  solve a problem:
  924.  Set the model's period, time span, and format.
  925.  Entered several formulas.
  926.  Entered data in the Table and Chart views.
  927.  Calculated the model.
  928.  Displayed the results on a worksheet.
  929.  Modified the model.
  930.  Saved the model.
  931. Related case studie}
  932. }#%Constants and Time-series Variables~
  933.  shows how
  934. ~+to use constants and time-series variables.
  935. }$%Entering Data and Formatting Numbers~     explores
  936. ~'the different ways of entering data and
  937. formatting numbers.
  938. %Graphing with Javelin~
  939.  introduces you to
  940. ~,using Javelin's graphs, including bar graphs
  941. and pie charts.
  942.